package com.bwie.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.pojo.TbProd;
import com.bwie.pojo.TbProdAtta;
import com.bwie.pojo.TbProdInfo;
import com.bwie.utils.R;
import com.bwie.vo.PageInfoVo;
import com.bwie.vo.ProdInfoVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author andy
* @description 针对表【tb_prod(商品表)】的数据库操作Service
* @createDate 2025-07-21 15:23:46
*/
public interface TbProdService extends IService<TbProd> {

    R getPageListProd(PageInfoVo pageInfoVo);

    R addProd(TbProd tbProd);

    R uploadFile(MultipartFile file);

    R deleteBatchProd(List<Integer> ids);

    R deleteProd(Integer prodId);

    R addProdAtta(TbProdAtta tbProdAtta);

    R getProdById(Integer prodId);

    R getProdInfoList(ProdInfoVo prodInfoVo);

    R addProdInfo(TbProdInfo tbProdInfo);

    R selectProdInfo();
}
